#ifndef __STANDBY_H__
#define __STANDBY_H__

#include "main.h"

extern uint32_t rtcWakeUpCnt;

#define NoWakeUpPin 0x00
#define WakeUpPin1  0x01
#define WakeUpPin2  0x02
void EnterSTANDBYMode(int8_t WakeUpPin);

#define PowerOn 0x00
#define WakeUp  0x01
int BringWakeUp(void);

void SystemPower_Config(void) ;

#endif

